package com.course.design.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.course.design.constants.Constant;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述:
 *
 * @author qinlianji
 * @create 2020-02-06
 */
@Data
@Accessors(chain = true)
public class Ygxx implements Serializable {

    /**
     * 员工标识
     */
    @TableId
    private String ygshId;

    @ApiModelProperty(value = "员工工号")
    private String ygghCd;

    @ApiModelProperty(value = "组织机构代码")
    private String deptdmCd;

    @ApiModelProperty(value = "员工姓名")
    private String ygxmNm;

    @ApiModelProperty(value = "员工姓名首字母")
    private String xmszm;

    @ApiModelProperty(value = "人员性别 1：男")
    private String ryxbTy;

    @ApiModelProperty(value = "个性签名")
    private String signature;

    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = Constant.DATE_PATTERN)
    private Date csrqDt;

    @ApiModelProperty(value = "证件号码")
    private String zjhm;

    @ApiModelProperty(value = "手机号码")
    private String sjhm;

    @ApiModelProperty(value = "登录密码")
    private String dlmm;

    @ApiModelProperty(value = "签名图片")
    private String txFl;

    @ApiModelProperty(value = "是否是超级管理员")
    private Boolean isSuper;

    @ApiModelProperty(value = "口令")
    private String command;

    @TableLogic
    @ApiModelProperty(value = "数据有效标记")
    private String sjyxbjFg;
}
